<%-- 
    Document   : newProductOrder
    Created on : May 10, 2012, 12:44:11 PM
    Author     : ciummo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><bean:message key="productOrder.new"/></title>
        <link rel="stylesheet" type="text/css" href="/DGestWebServer/css/dgest.css"/>
    </head>
    
    <body>
        
   <%@ include file="../adminDialogBar.jspf" %>      
   <h1><bean:message key="productOrder.new"/></h1>
   
        <div class="error">
            <html:errors />
        </div>
   
   
        <html:form action="OrderProduct?method=submitOrderProduct" method="POST" enctype="multipart/form-data">

            <table class="center"><tbody>

                <div id="ProductOrderInformation">
                    
                    <tr><td><h2><bean:message key="productOrder.newInformation"/></h2></td></tr>

                    <tr>
                        <td><bean:message key="order.id"/>: </td>
                        <td><html:text name="OrderProductActionForm" property="ordineidOrdine" style="background:yellow" readonly="true"/></td>
                    </tr>                    
                    
                    
                    <tr>
                        <td><bean:message key="article.code"/>*: </td>
                    <td>
                    <html:select property="codArticolo" >
                        <html:option value="0"><bean:message key="button.choose"/></html:option>
                        <html:optionsCollection name="ListaArticoli" property="list" label="nome" value="codArticolo"/>
                    </html:select>
                    </td>
                    </tr>

                    <tr>
                        <td><bean:message key="productOrder.price"/>*: </td>
                        
                        <td><html:text name="OrderProductActionForm" property="prezzo"/></td>
         
                    </tr>                               

                    <tr>
                        <td><bean:message key="productOrder.vat"/>*: </td>
                        
                        <td><html:text name="OrderProductActionForm" property="iva"/></td>
         
                    </tr>    
                    
                    <tr>
                        <td><bean:message key="productOrder.quantity"/>*: </td>
                    <td>
                        <html:text name="OrderProductActionForm" property="quantita"/>
                    </td>
                    </tr>
                    
                    <tr>
                        <td><bean:message key="productOrder.sale"/>*: </td>
                        <td> <html:text name="OrderProductActionForm" property="sconto"/> </td>
                        
                    </tr>

                    <tr>
                        <td><bean:message key="productOrder.measureUnity"/>: </td>
                        <td><html:text name="OrderProductActionForm" property="unitaMisura"/></td>
                    </tr>                    
  
                    <tr>
                        <td><bean:message key="productOrder.note"/>: </td>
                        <td><html:text name="OrderProductActionForm" property="note"/></td>
                    </tr>

                    </div>
                    
                    
                
                    
                    <tr>
                        <td>
                            <html:submit>
                               <bean:message key="button.submit"/>
                            </html:submit>

                            <html:cancel>
                                <bean:message key="button.cancel"/>
                            </html:cancel>
                        </td>
                    </tr>            
            
            
        </html:form>    
                    
                    
            </table></tbody>  
        
    </body>
</html>
